package com.ysd.entity;

public class news {
	private int newId;
	private String years;
	private String days;
	private String homeFlag;
	private String title;
	private String content;
	private String related;
	public news(int newId, String years, String days, String homeFlag, String title, String content, String related) {
		super();
		this.newId = newId;
		this.years = years;
		this.days = days;
		this.homeFlag = homeFlag;
		this.title = title;
		this.content = content;
		this.related = related;
	}
	
	public news(int newId, String years, String days, String homeFlag, String title, String content) {
		super();
		this.newId = newId;
		this.years = years;
		this.days = days;
		this.homeFlag = homeFlag;
		this.title = title;
		this.content = content;
	}

	public news(String related) {
		this.related = related;
	}
	public int getNewId() {
		return newId;
	}
	public void setNewId(int newId) {
		this.newId = newId;
	}
	public String getYears() {
		return years;
	}
	public void setYears(String years) {
		this.years = years;
	}
	public String getDays() {
		return days;
	}
	public void setDays(String days) {
		this.days = days;
	}
	public String getHomeFlag() {
		return homeFlag;
	}
	public void setHomeFlag(String homeFlag) {
		this.homeFlag = homeFlag;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public String getRelated() {
		return related;
	}
	public void setRelated(String related) {
		this.related = related;
	}
	
	
	
}
